package io.itit.ecp.admin.server.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.itit.grass.common.server.entity.BaseTenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 能源预测数据
 */
@Data
@ToString
@EqualsAndHashCode(callSuper = true)
@TableName("ecp_tt_energy_forecast_data")
public class EnergyForecastDataEntity extends BaseTenantEntity {

    private Date solidifyDate;

    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneProjectId;

    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneEdificeId;

    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneFloorId;

    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneRoomId;

    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneCompanyId;

    private String meterDeviceId;

    private String deviceCode;

    private String deviceName;

    private String productTypeId;

    private BigDecimal meterForecastValue;

    private String staticsType;

    private String energyUnit;

    /**
     * 预测精度
     */
    private BigDecimal forecastPrecision;


}
